package top.hundreds.oasys.controller.FrontController;

import top.hundreds.oasys.bean.entity.MeetingParticipant;
import top.hundreds.oasys.service.MeetingParticipantService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (MeetingParticipant)表控制层
 *
 * @author lcf
 * @since 2021-02-03 16:07:19
 */
@RestController
@RequestMapping("/front/meetingParticipant")
public class MeetingParticipantController {
    /**
     * 服务对象
     */
    @Resource
    private MeetingParticipantService meetingParticipantService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public MeetingParticipant selectOne(Long id) {
        return this.meetingParticipantService.get(id);
    }

}
